package com.caine.object;

/**
 * @Author: CaineZhu
 * @Description:
 * @Date: Created in 18:21 2020/11/11
 * @Modified By:
 */
public class StackOverFlowTest {
    int i = 0;
    public void  test(){
        i++;
        test();
    }

    public static void main(String[] args) {
        StackOverFlowTest test = new StackOverFlowTest();
        try {
            test.test();
        } catch (Exception e) {
            System.out.println("test = " + test.i);
            e.printStackTrace();
        }
    }
}
